package com.whu;


/**
 * @author DELL
 */
public class Test {
    public static void main(String[] args) {
        MiniApplicationContext app = new MiniApplicationContext("MyApplicationContext.xml");
        Teacher teacher =(Teacher) app.getBean("teacher");
        teacher.teach();
    }
}
